﻿using ConsoleApplication1;
using MyNamespace2;
using MyNamespace2.ds;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test1
{

    class dff:Class1
    {
        public dff()
        {
           
        }
    }
    class Program
    {
        static void Main(string[] args)
        {

        //    MyClass myClass = new MyClass();

            //int x = 3;
            //int y = x;
            //y = 4;

            //MyClass x2;
            //MyClass y2;

            //x2 = new MyClass();
            //x2.Myinternal = 123;

            //y2 = x2;

            //y2.Myinternal = 321;

            //Console.WriteLine(x2.Myinternal);

            //Console.WriteLine(y2.Myinternal);


            
            //Console.WriteLine(x);
            //Console.WriteLine(y);

            //Class1 c = new Class1();
            //c.
            //Console.ReadLine();


        //    myclass2 myClass2 = new myclass2();


        //    Class1 cl;

            
            
        }
    }


}
namespace MyNamespace2.ds
{
    class MyClass
    {
        /// <summary>
        /// My class base almış my classtan türemiş sınıflarda görülür
        /// </summary>
        protected int Myprotected { get; set; }
        /// <summary>
        /// Aynı projede olanlar tarafından görülür
        /// </summary>
        internal int Myinternal { get; set; }
    }

    class myclass2 : MyClass
    {
        public myclass2()
        {
        }
    }
}